// 此文件封装3个方法专门用于操作token的
const key = 'geek-itxie'

// 设置
export const setToken = (token) => {
  localStorage.setItem(key, token)
}

// 获取
export const getToken = () => {
  return localStorage.getItem(key)
}

// 删除
export const removeToken = () => {
  localStorage.removeItem(key)
}
